#include "helpform.h"
#include "ui_helpform.h"

helpForm::helpForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::helpForm)
{
    ui->setupUi(this);
}

helpForm::~helpForm()
{
    delete ui;
}

void helpForm::on_pushButton_add_clicked()
{
    ui->textBrowser->setText("A button for add a file.");
}

void helpForm::on_pushButton_dir_clicked()
{
    ui->textBrowser->setText("A button for add all files in a directory.");
}

void helpForm::on_pushButton_switcher_clicked()
{
    ui->textBrowser->setText("A button for swap the item that is current selected in the view to the previous one. The first item in the view is default when any one is selected.");
}


void helpForm::on_pushButton_remove_clicked()
{
    ui->textBrowser->setText("A button for remove the current item.The first item is default when any one is selected.");
}

void helpForm::on_pushButton_clicked()
{
    ui->textBrowser->setText("Rename all the file in the view.Pay attention,the operation is not able to rollback after execute.");
}

void helpForm::on_pushButton_Exit_clicked()
{
    this->hide();
    emit hiddenDoNothing();
}
